package com.stupro.cjlu.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author Administrator
 * @since 2021-05-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("teacher")
@ApiModel(value="Teacher对象", description="")
public class Teacher implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "教师号")
    @TableId(value = "teaID", type = IdType.AUTO)
    private Integer teaID;

    @ApiModelProperty(value = "教师姓名")
    @TableField("teaName")
    private String teaName;

    @ApiModelProperty(value = "教师账号")
    @TableField("teaUserName")
    private String teaUserName;

    @ApiModelProperty(value = "教师密码")
    @TableField("teaPwd")
    private String teaPwd;

    @ApiModelProperty(value = "教师性别")
    @TableField("teaSex")
    private String teaSex;

    @ApiModelProperty(value = "教师年龄")
    @TableField("teaAge")
    private Integer teaAge;


}
